/*
 * Copyright 2025 arisgo@163.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.arisgo.cloud.auth.sys.vo;

import com.arisgo.cloud.web.model.NumberIdWithTree;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典表
 *
 * @author Arisgo
 * @since 2024-06-14
 */
@Data
@Schema(description = "字典表信息")
@EqualsAndHashCode(callSuper = true)
public class DictVo extends NumberIdWithTree<DictVo> {

    /**
     * 类型
     */
    @Schema(name = "type", description = "类型")
    private String type;

    /**
     * 租户
     */
    @Schema(name = "tenantId", description = "租户")
    private Long tenantId;

    /**
     * 名称
     */
    @Schema(name = "name", description = "名称")
    private String name;

    /**
     * 值
     */
    @Schema(name = "value", description = "值")
    private String value;

    /**
     * 排序
     */
    @Schema(name = "sort", description = "排序")
    private Integer sort;

    /**
     * 字典备注
     */
    @Schema(name = "remark", description = "备注")
    private String remark;

}
